#include "weldmenu.h"
#include "ui_weldmenu.h"

WeldMenu::WeldMenu(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::WeldMenu)
{
    ui->setupUi(this);
}

WeldMenu::~WeldMenu()
{
    delete ui;
}

void WeldMenu::on_forwardPage_Btn_clicked()
{
    this->close();
    emit weldForwardPage();
}


void WeldMenu::on_button_weldStart_clicked()
{
    emit addWeldStartInstruction_signal();
}
void WeldMenu::on_button_weldEnd_clicked()
{
    emit addWeldEndInstruction_signal();
}
//新指令20191130 ZHUHT
void WeldMenu::on_button_weave_clicked()
{
    emit addWeaveInstruction_signal();
}

void WeldMenu::on_button_weaveEnd_clicked()
{
    emit addWeaveEndInstruction_signal();
}

void WeldMenu::on_button_trackEnd_clicked()
{
    emit addTrackWeldEndInstruction_signal();
}

void WeldMenu::on_button_trackTAST_clicked()
{
    emit addTrackWeldTastInstruction_signal();
}

void WeldMenu::on_button_watchDI_clicked()
{
   emit addWatchDIInstruction_signal();
}

void WeldMenu::on_button_laserCamera_clicked()
{
    emit showLaserCameraMenu_signal();
}
